<?php 
if (!defined('INDEX')) exit;
###########################################################################################
// Table names (leave blank for table which not use)

$tbl["cat"] = "";
$tbl["content"] = "manufacture";
// Start class
require("core/class_start.inc.php");
###########################################################################################
switch (@$_GET['p'])
{
	// Generate form add content
	case "add_content":
		$mdl_form = array(
			'Title <font color=red>*</font>' => $jcas->draw_input('text','name','400px',0,'',0),
			'Title Alias' => $jcas->draw_input('text','alias','400px',0,'',0),			
		);
	break;
	// Generate form edit content
	case "edit_content":
		$mdl_form = array(
			'Title <font color=red>*</font>' => $jcas->draw_input('text','name','400px',0,'',0),
			'Alias <font color=red>*</font>' => $jcas->draw_input('text','alias','400px',0,'',0),
		);
	break;
	// Generate view content
	case "view_content":
		$mdl_form = "";
	break;
}
###########################################################################################
// Records per page
$mdl_cfg["content_per_page"] = 20;

// Module description (displayed on the top page)
$mdl_cfg['module_description'] = 'Quản lý Hiệu xe';

// Head title (leave blank for default)
$mdl_cfg['head_title'] = '';

// Fields that require user to type in (seperated by comma)
$mdl_cfg['required_fields'] = "";

// Search in fields (each field in array)
$mdl_cfg['search_fields'] = array(
	//'field name' => 'display text',
	
	'name' => 'Tên',
);

// Sort by fields (Ascending)
$mdl_cfg['sort_fields'] = array(
	//'field name' => 'display text',
	'sort' => 'Mặc định',
	'created_time' => 'Created time',
);

// Display cat options
$mdl_cfg['cat_options'] = '';

// Display content options
$mdl_cfg['content_options'] = array(
	//'content_option&content_field&content_value' => 'display text',
	'content_option=default' => $lang['display_default'],
	'content_option=1&content_field=active&content_value=0' => $lang['display_inactive_items'],
	'content_option=2&content_field=active&content_value=1' => $lang['display_active_items']
);
?>